from typing import List
from fastapi import APIRouter

from database.model import Question,SheetItem
from .model import SheetItemModel, QuestionModel

router=APIRouter(tags=['question'])

@router.get('/question/{question_id}',response_model=QuestionModel)
def get_question_by_id(question_id:int):
    return Question.get_by_id(question_id)
